package com.ruoyi.base.mapper;

import com.ruoyi.base.domain.Store;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;


public interface StoreMapper {
    @DataSource(DataSourceType.BASE)
    Store selectStoreByCodeAndName(Store store);

    @DataSource(DataSourceType.BASE)
    Store selectById(String storeId);

    @DataSource(DataSourceType.BASE)
    void insert(Store store);

    @DataSource(DataSourceType.BASE)
    int selectCountCurrentByCodeAndName(Store storeCurrent);

}
